package com.mvd.app.activitys;

import android.os.Bundle;
import android.widget.TextView;

import com.mvd.app.R;
import com.mvd.app.activity.BaseActivity;
import com.mvd.app.commons.UtilsLog;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author Administrator
 * @version V1.0
 * @Title: ErrorMsgActivity
 * @Package com.mvd.app.ac2021
 * @Description: 错误信息展示
 * @date 2021-04-21 9:10
 **/

public class ErrorMsgActivity extends BaseActivity {

    @BindView(R.id.activity_error_msg)
    TextView activityErrorMsg;
    String msg = "";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_error_msg);
        ButterKnife.bind(this);

        setBackBtn();
        setTopTitle("错误日志");
        msg = getIntent().getExtras().getString("error_msg", "");
        UtilsLog.e("error-msg==="+msg);
        activityErrorMsg.setText(msg);
    }
}
